From cb3a60abedc227995ba05dc2bd0427b2197110c2 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Mon, 11 Feb 2002 15:06:59 +0000 Subject: [PATCH] Get the damn fix right, see my latest ChangeLog entry. --- gtk/gtkliststore.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index 1c90037902..ab7eabce71 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -1777,11 +1777,9 @@ gtk_list_store_sort_iter_changed (GtkListStore *list_store, cmp_a = (* func) (GTK_TREE_MODEL (list_store), iter, &tmp_iter, data); } - if (!list->next && cmp_a > 0) - new_location++; - if ((!list->next) && (cmp_a > 0)) { + new_location++; list->next = G_SLIST (iter->user_data); list_store->tail = list->next; } -- 2.30.2